import request from '@/until/request'
import Vue from 'vue';


// 通话设置列表
export const callConfigList = () => {
  return request({
    url: `${Vue.prototype.$configURL}callConfig/list`,
    method: 'get',
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}

// 通话设置
export const callConfigUpdate = (params) => {
  return request({
    url: `${Vue.prototype.$configURL}callConfig/update`,
    method: 'post',
    data: params,
    headers: {
      isToken: true,
      repeatSubmit: false
    }
  })
}

